
package com.erp.common.voucher.service;

import com.framework.api.DaoCRUDIF;

import java.util.List;
import com.erp.common.voucher.dao.model.FinVoucherModelHead;
import com.erp.common.voucher.dao.model.FinVoucherModelHeadCO;
import com.erp.common.voucher.dao.model.FinVoucherModelLine;

public interface FinVoucherModelHeadService extends DaoCRUDIF<FinVoucherModelHead, FinVoucherModelHeadCO> {
    
    //根据业务类型获取凭证模板头
    public abstract FinVoucherModelHead getFinVoucherModelHeadByBusinessType(String businessType);
    
    //自动创建凭证
    public abstract String autoCreateVoucher(String billHeadCode, Double[] amount, String businessType);
    
}
